package queue;

/**
 * @author niann
 * @description
 * @since 2024/8/28 下午5:06
 **/
public class QueueTest {
    public static void main(String[] args) {
        Queue<String> queue = new Queue<>();
        queue.push("A");
        queue.push("B");
        queue.push("C");
        queue.push("D");
        queue.offer("E");
        System.out.println(queue.pop());
        System.out.println(queue.peek());
        System.out.println(queue);
        System.out.println(queue.size());
    }
}
